#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[5] = { 0 };
	int del = 0;
	int  i = 0;
	for (i = 0; i < 5;i++)
	{
		scanf("%d", &arr[i]);

	}
	scanf("%d", &del);
	int  j = 0;
	for (i = 0; i < 5; i++)
	{
		if (arr[i] != del)
			arr[j++] = arr[i];
	}
	for (i = 0; i < j; i++)
	{
		printf("%d ", arr[i]);
	}
	return 0;
}

#include<stdio.h>
void my_strcpy(char* dest, const char* src)
{
	while (*src != '\0')
	{
		*dest = *src;
		dest++;
		src++;
	}
	*dest = '\0';

}
int main()
{
	char arr1[] = "hello bite";
	char arr2[20] = { 0 };
	my_strcpy(arr2, arr1);
	printf("%s\n", arr2);
	return 0;
 }